names = []
for i in range(3):
    name = input()
    # 给列表增加一个元素的3种方法
    # names = names + [name]
    # names.append(name)
    names.insert(0, name)
print(names)